Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Component: InputField #374

Closed
1 task done
dhruvkb opened this issue Oct 27, 2021 · 0 comments · Fixed by #380
Closed
1 task done

Component: InputField #374

dhruvkb opened this issue Oct 27, 2021 · 0 comments · Fixed by #380
Assignees
Labels
🕹 aspect: interface Concerns end-users' experience with the software 🌟 goal: addition Addition of new feature 🟨 priority: medium Not blocking but should be addressed soon

Comments

@dhruvkb
Copy link
Member

dhruvkb commented Oct 27, 2021

Description

The InputField control is used for entering single line short text. The planned SearchBar component is a special case of a generic InputField component.

API

The component will be a shallow wrapper over the native <input> element, allowing it to be combined with neighbouring elements like a joint button or an indicator icon. It should be functional and stateless.

Props

Name Type Description
value string Used with v-model
inputId string For assigning an id attr to the field that can then be used with <label>

Slots

Name Slot props Description
default - Extra information, that which is seen on the end-side, goes here

Events

Name Associated data Description
input string; the new value of the field Used with v-model

References

Implementation

  • 🙋 I would be interested in implementing this component.
@dhruvkb dhruvkb added 🟨 priority: medium Not blocking but should be addressed soon 🌟 goal: addition Addition of new feature 🕹 aspect: interface Concerns end-users' experience with the software labels Oct 27, 2021
@dhruvkb dhruvkb self-assigned this Oct 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🕹 aspect: interface Concerns end-users' experience with the software 🌟 goal: addition Addition of new feature 🟨 priority: medium Not blocking but should be addressed soon
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant