Skip to content
Snippets Groups Projects
Commit 157d3386 authored by Seren Siahaan's avatar Seren Siahaan
Browse files

fix: add input instruction

parent c02f2d4c
2 merge requests!11chore: merge staging into dev,!9merge branch 'seren' into 'develop'
......@@ -62,7 +62,10 @@ const Create = ({ propertyWebsite }) => {
question: e.target.value,
answer: faq.answer
})
}} type="tel" required className="drop-shadow-xl w-2/3 p-2 rounded-xl" />
}} type="text" required className="drop-shadow-xl w-2/3 p-2 rounded-xl" />
</div>
<div>
<span className="text-[#16A4FF]">*) Minimum 10 karakter</span>
</div>
<div className="flex flex-row align-middle justify-between">
<span className="h-min my-auto font-bold text-lg">Answer</span>
......@@ -73,6 +76,9 @@ const Create = ({ propertyWebsite }) => {
})
}} type="text" required className="drop-shadow-xl w-2/3 p-2 rounded-xl" />
</div>
<div>
<span className="text-[#16A4FF]">*) Minimum 10 karakter</span>
</div>
<input type="submit" className="bg-[#F875AA] px-8 py-3 text-xl font-bold text-white rounded-xl mx-auto" value={"Simpan"} />
</form>
......
......@@ -90,6 +90,9 @@ const Edit = () => {
})
}} type="text" required className="drop-shadow-xl w-2/3 p-2 rounded-xl" />
</div>
<div>
<span className="text-[#16A4FF]">*) Minimum 10 karakter</span>
</div>
<div className="flex flex-row align-middle justify-between">
<span className="h-min my-auto font-bold text-lg">Answer</span>
<input value={faq.answer} onChange={(e) => {
......@@ -99,6 +102,9 @@ const Edit = () => {
})
}} type="text" required className="drop-shadow-xl w-2/3 p-2 rounded-xl" />
</div>
<div>
<span className="text-[#16A4FF]">*) Minimum 10 karakter</span>
</div>
<input type="submit" className="bg-[#F875AA] px-8 py-3 text-xl font-bold text-white rounded-xl mx-auto" value={"Simpan"} />
</form>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment