Appearance
Fields Input Guide
While passing htmlType in a field, we have different syntax for different fields. Here is the full guide for each supported field. Check the last word in each of below example.
text
sh
title string textemail
sh
email string,50 emailnumber
sh
amount double numberdate
sh
published_at date dateIn order to get Datepicker work, you need to include the css and js file of datepicker into you app.blade.php
sh
<head>
...
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.min.css"
integrity="sha512-mSYUmp1HYZDFaVKK//63EcZq4iFWFjxSL+Z3T/aCt4IO9Cejm03q3NKKYN6pFQzY0SBOr8h+eCIAZHPXcpZaNw=="
crossorigin="anonymous"
referrerpolicy="no-referrer" />
...
</head>
<body>
...
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.min.js"
integrity="sha512-T/tUfKSV1bihCnd+MxKD0Hm1uBBroVYBOYSk1knyvQ9VyZJpc/ALb4P0r6ubwVPSGB2GvjeoMAJJImBG12TiaQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer">
</script>
...
<body>file
sh
profile string filepassword
sh
user_password string passwordselect
sh
status integer select:Draft:1,Published:2,Archived:3
status string select:Draft,Published,Archivedradio
sh
status integer radio:Draft:1,Published:2
gender string radio:Male,Femalecheckbox
sh
is_featured boolean checkbox
is_active string checkbox:activetextarea
sh
article_body text textarea
