-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example creating an extendable custom input component #563
Labels
Comments
I have an example for transitioning from 2-way filters to a custom input component in the migration guide. @yyx990803 Is that the kind of thing you're thinking of? Either way, I agree it should also be featured elsewhere in the guide. |
@chrisvfritz ah yeah, that's already very detailed. Maybe an adapted version of that, without assuming a 1.x background. |
dingyiming
added a commit
to volksbright/document-standard-vue
that referenced
this issue
Nov 5, 2016
* master: set correct runtime-only gzipped size scope version-specific pages update tagline in config to match homepage 2.0.5 _common.styl: unify #donate a font-family (vuejs#568) improve visibility of custom input components through the guide, fixes vuejs#563 update vue to 2.0.4 add code examples to components one-way data flow revise react comparison improve intro for absolute beginners (close vuejs#565) # Conflicts: # src/v2/api/index.md # src/v2/guide/comparison.md # src/v2/guide/components.md # src/v2/guide/computed.md # src/v2/guide/custom-directive.md # src/v2/guide/events.md # src/v2/guide/forms.md # src/v2/guide/index.md # src/v2/guide/installation.md # src/v2/guide/instance.md # src/v2/guide/list.md # src/v2/guide/migration-vue-router.md # src/v2/guide/migration-vuex.md # src/v2/guide/migration.md # src/v2/guide/mixins.md # src/v2/guide/reactivity.md # src/v2/guide/render-function.md # src/v2/guide/syntax.md # src/v2/guide/unit-testing.md # themes/vue/_config.yml # themes/vue/layout/index.ejs # themes/vue/layout/partials/main_menu.ejs
dingyiming
added a commit
to volksbright/document-standard-vue
that referenced
this issue
Nov 5, 2016
* 2.0-cn: set correct runtime-only gzipped size scope version-specific pages update tagline in config to match homepage 2.0.5 _common.styl: unify #donate a font-family (vuejs#568) improve visibility of custom input components through the guide, fixes vuejs#563 update vue to 2.0.4 add code examples to components one-way data flow revise react comparison improve intro for absolute beginners (close vuejs#565) # Conflicts: # themes/vue/_config.yml # themes/vue/layout/partials/main_menu.ejs
dear-lizhihua
pushed a commit
to volksbright/document-standard-vue
that referenced
this issue
Nov 14, 2016
- 添加 贡献者展示页面 Merge branch '2.0' * 2.0: set correct runtime-only gzipped size scope version-specific pages update tagline in config to match homepage 2.0.5 _common.styl: unify #donate a font-family (vuejs#568) improve visibility of custom input components through the guide, fixes vuejs#563 update vue to 2.0.4 add code examples to components one-way data flow revise react comparison improve intro for absolute beginners (close vuejs#565) # Conflicts: # src/v2/guide/index.md # src/v2/guide/installation.md
Peter-WF
pushed a commit
to Peter-WF/vuefe.github.io
that referenced
this issue
Nov 18, 2016
Peter-WF
pushed a commit
to Peter-WF/vuefe.github.io
that referenced
this issue
Nov 18, 2016
* master: set correct runtime-only gzipped size scope version-specific pages update tagline in config to match homepage 2.0.5 _common.styl: unify #donate a font-family (vuejs#568) improve visibility of custom input components through the guide, fixes vuejs#563 update vue to 2.0.4 add code examples to components one-way data flow revise react comparison improve intro for absolute beginners (close vuejs#565) # Conflicts: # src/v2/api/index.md # src/v2/guide/comparison.md # src/v2/guide/components.md # src/v2/guide/computed.md # src/v2/guide/custom-directive.md # src/v2/guide/events.md # src/v2/guide/forms.md # src/v2/guide/index.md # src/v2/guide/installation.md # src/v2/guide/instance.md # src/v2/guide/list.md # src/v2/guide/migration-vue-router.md # src/v2/guide/migration-vuex.md # src/v2/guide/migration.md # src/v2/guide/mixins.md # src/v2/guide/reactivity.md # src/v2/guide/render-function.md # src/v2/guide/syntax.md # src/v2/guide/unit-testing.md # themes/vue/_config.yml # themes/vue/layout/index.ejs # themes/vue/layout/partials/main_menu.ejs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes users want to have complicated custom behavior for
v-model
, or simply 2-way filter like type casting similar to the built-in modifiers.The custom input component pattern I demonstrated earlier (as mentioned here) is very powerful and can handle all those needs, but it isn't mentioned in the docs.
I think we should either add a paragraph on this at the end of Form Input Bindings (with a tip like "comeback after you understand how components work"), OR add a chapter in the Advanced section of the guide.
The text was updated successfully, but these errors were encountered: