forked from buefy/buefy
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(lib): add compat fallthrough to Input
- `Input` introduces a new prop `compat-fallthrough` that determines if `class`, `style`, and `id` attributes are applied to the root `<div>` element, instead of the underlying `<input>` or `<textarea>`. Since Vue 3 changed the fallthrough behavior, `Input` became incompatible with Buefy for Vue 2. Setting the prop to `true`, makes `Input` compatible with Buefy for Vue 2. The default value for this prop is configured by a new config option `defaultInputCompatFallthrough`, which is `true` by default. issue ntohq#16
- Loading branch information
Showing
2 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters