fieldUpload not setting id attribute correctly
See original GitHub issueSetting the id
property in the schema for field type: "upload"
results in markup that looks like:
<input id="getFieldID(schema)"
type="file"
accept=".jpg,.jpeg,.png,.pdf"
required="required" class="form-control">
Comparing it to other core field files, it looks like in fieldUpload.vue
the id
prop is missing a colon, here.
Could be an easy/quick fix 😃
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Set required field value in lightning-file-upload
You can omit the record-id attribute when specifying file-field-name and file-field-value attributes. However, if you provide the record-id , ...
Read more >File upload in ASP.NET Core 2 razor pages - Stack Overflow
Your property for the file input is named FileUpload but you have overridden the name attribute generated by the TagHelper and renamed it...
Read more >required attribute not working for p:fileUpload when mode ...
Create a skinned simple and required fileUpload, then try to submit the form. 5) Sample XHTML. <p:fileUpload id="registryUpload" value="#{bean.
Read more >lightning-file-upload - documentation - Salesforce Developers
To associate an uploaded file to a record, specify the record-id attribute. Uploaded files are available in Files Home under the Owned by...
Read more >FileUpload Class (System.Web.UI.WebControls)
Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Released in v2.2.1
I tried this, but ran into a multitude of babel/webpack errors. My project is on @babel 7.x and it looks like that and the associated plugins aren’t cooperating with VFG from git. Hopefully @icebob will want to release soon 👍