Skip to content

Reuse Form elements for Frontend? #1563

Answered by tabuna
wsdnathan asked this question in Q&A
Discussion options

You must be logged in to vote

This package was not built to handle front-end tasks separately. But you can use fields like this:

{!! \Orchid\Screen\Fields\Input::make('email')
->type('email')
->required()
->tabindex(1)
->autofocus()
->placeholder(__('Enter your email'))
!!}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wsdnathan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants