Fakultas Ilmu Komputer UI

Commit 61e29659 authored by Reka Paska Enda's avatar Reka Paska Enda
Browse files

Merge branch 'naufal.pratama/25/menambah-ketentuan-upload-gambar' into 'dev'

PBI-8: Menambah ketentuan upload gambar

See merge request !29
parents 59372edc 3103e0a0
Pipeline #81848 passed with stages
in 2 minutes and 53 seconds
......@@ -452,7 +452,13 @@ const FormProduk = ({ onSubmit, initialData = null, error }) => {
<LabelInput htmlFor="gambar">Foto Produk </LabelInput>
<InputForm type="file" name="image" ref={register} />
</RowInput>
<div
css={css`
font-size: 12px;
`}
>
*Foto harus dalam format .jpeg atau .png dengan ukuran maksimum 500KB
</div>
{/* IMAGE SECTION END */}
<RowInput>
......
Supports Markdown
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