-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix(MdInput): Avoid InputEvent object from @input event #1196
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
Conversation
THAT'S AWESOME! |
I'll do my best. |
@marcosmoura Excuse me. How to resolve netlify deploy preview failed? I checked the details and it showed page not found to me. |
…MdSelect.modelValue` synced wit
…dTextarea optional `MdSelect` could be switched between single and multiple fix #1150
|
|
@@ -1,7 +1,7 @@ | |||
export default { | |||
props: { | |||
value: { | |||
required: true | |||
default: null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a better approach to this is value: {}
This will allow any type.
this.setFieldValue() | ||
}, | ||
setMultipleContentByValue () { | ||
if (!this.localValue) this.initialLocalValueByDefault() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To improve code style, change this if to be inside brackets:
if ( ... ) {
...
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work!
Just some minor issues with code style
* origin/dev: docs: add note for themes, example with CDNs (#1225) fix(MdProgressSpinner): fix firefox radius (#1221) fix(MdDatepicker): show today if date is not selected (#1214) fix(MdInput): avoid InputEvent object from @input event (#1196) docs: change old repository name to new (#1216) fix(MdAutocomplete): sync v-model with search term (#1218) chore: add codesponsor again Update README.md Revert "fix(MdChips): make chip allow spaces (#1211)" Revert "fix: remove global scoped css affecting all md-content elements" chore: remove codesponsor because github is a bad guy! chore: remove codesponsor because github is a bad guy! fix: remove global scoped css affecting all md-content elements chore: remove async attribute fix(MdChips): make chip allow spaces (#1211) docs(Codepen): Fix codepen style undefined (#1202) Updated file doc. Typo in event name md-change (#1192) Revert "build: generate beta 5" docs: improve drastically the initial load of documentation
* fix(MdInput): Avoid InputEvent object from @input event fix #1160 * fix(MdField): `$emit` missing `this` * fix(MdSelect): declare all MdSelect properties in `data()` and make `MdSelect.modelValue` synced wit * feat(MdField): make 'v-model'/'value' in MdFile, MdInput, MdSelect, MdTextarea optional `MdSelect` could be switched between single and multiple fix #1150 * feat(MdSelect): one way update with `value` * fix(MdOption): let value avaiable to be `0` fix #1203 * fix(MdField): set value default as null * fix(MdField): Remove value default vuematerial/vue-material#1196 (comment) * style(MdSelect): brackets for if statement execute block vuematerial/vue-material#1196 (comment)
* fix(MdInput): Avoid InputEvent object from @input event fix #1160 * fix(MdField): `$emit` missing `this` * fix(MdSelect): declare all MdSelect properties in `data()` and make `MdSelect.modelValue` synced wit * feat(MdField): make 'v-model'/'value' in MdFile, MdInput, MdSelect, MdTextarea optional `MdSelect` could be switched between single and multiple fix #1150 * feat(MdSelect): one way update with `value` * fix(MdOption): let value avaiable to be `0` fix #1203 * fix(MdField): set value default as null * fix(MdField): Remove value default vuematerial/vue-material#1196 (comment) * style(MdSelect): brackets for if statement execute block vuematerial/vue-material#1196 (comment)
fix #1160