dropdown target fix
This commit is contained in:
parent
883118e050
commit
4c5912ebc0
2 changed files with 2 additions and 2 deletions
|
@ -122,7 +122,7 @@ class DCLLinkPluginModel(CMSPlugin):
|
|||
|
||||
class DCLNavbarDropdownPluginModel(CMSPlugin):
|
||||
target = models.CharField(
|
||||
max_length=100,
|
||||
max_length=100, null=True, blank=True,
|
||||
help_text='Optional Url or #id to navigate on click'
|
||||
)
|
||||
text = models.CharField(
|
||||
|
|
|
@ -38,7 +38,7 @@ class Migration(migrations.Migration):
|
|||
fields=[
|
||||
('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='cms.CMSPlugin')),
|
||||
('text', models.CharField(help_text='Text for the dropdown toggle', max_length=50)),
|
||||
('target', models.CharField(default='', help_text='Optional Url or #id to navigate on click', max_length=100)),
|
||||
('target', models.CharField(blank=True, help_text='Optional Url or #id to navigate on click', max_length=100, null=True)),
|
||||
],
|
||||
options={
|
||||
'abstract': False,
|
||||
|
|
Loading…
Reference in a new issue