[9.x] Add disabled directive#40900
Merged
Merged
Conversation
Contributor
|
I feel like I've been seeing a few of these new form related blade helpers -- but sometimes I wonder is this ultimately becoming a form builder? I'm not strongly opposed to this but I wonder if we need these additional blade helpers... This is a form builder for example, which uses components/functions to define the form structure in an elegant way instead - maybe this is the solution for some people and it could perhaps could prevent a dozen more PR's for form related directives. |
JustinByrne
added a commit
to JustinByrne/laravel-blade-snippets-vscode
that referenced
this pull request
Mar 5, 2022
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR provides the use of the common HTML directive
disabledthrough a shorthand syntax via a Blade directive. Allowing developers to have a more enjoyable method of disabling a button, for example, could improve the smooth flow that we Laravel developers are consistently being treated too. Simple yet, effective.Editing for documentation PR: laravel/docs#7690