Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay aui auto fields delete ( - )button not working
Aui Auto Fields delete button is not working well. However add ( + ) button works as it is.
Here is configuration code I have used:
<aui:form action="${editFeesConfigURL}" method="post" name="LiferayAutoFieldForm">
<div id="splitFeesDtl-fields">
<div class="lfr-form-row
lfr-form-row-inline">
<div
class="row-fields">
<aui:input fieldParam='feesConfigDtlName0' id='feesConfigDtlName0'
name="feesConfigDtlName0"
label="common.splitname" >
<aui:validator name="required"/>
</aui:input>
<aui:input fieldParam='splitAmt0' id='splitAmt0'
name="splitAmt0"
label="common.splitamount" >
<aui:validator name="required"/>
<aui:validator
name="number"/>
</aui:input>
</div>
</div>
</div>
</aui:form>
<aui:script use="liferay-auto-fields">
new
Liferay.AutoFields(
{
contentBox:
'#splitFeesDtl-fields',
fieldIndexes:
'<portlet:namespace />splitFeesIndexes'
}
).render();
</aui:script>
Can someone help me ?
Thank you.
Hello Mo Kham,
can you tell which Liferay version you are using?
Hello Dominik,
I use Liferay 7.3.4 GA5
Thanks,
Powered by Liferay™